
// DlgShowProcessDlg.h : header file
//

#pragma once
#include "afxwin.h"
#include <map>

typedef std::map<int, CString> ProcessContainer;
typedef ProcessContainer::iterator ProcessIter;

// CDlgShowProcessDlg dialog
class CDlgShowProcessDlg : public CDialog
{
// Construction
public:
	CDlgShowProcessDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_DLGSHOWPROCESS_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	CFont *m_pFont;
	int m_nTimer;
	ProcessContainer m_ProcessVect;
	ProcessContainer m_lastProcessVect;
	CListBox m_listProcess;
	CStatusBar m_ctrlStatusBar;
	void ShowProcess();
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg void OnSize(UINT nType, int cx, int cy);

};
